<%@ page import="java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Futures Daily Basis Summary</title>
<style type="text/css">
<!--
.style4 {
	font-family: Arial;
	font-size: 12px;
}
-->
</style>
</head>
<body>
	  <table width="100%" height = "30"  border="1" cellpadding="0" cellspacing="0" bordercolor="#EEEEEE">
	  <tr>
	  <td colspan="2"><strong><span class="style1 style4">London</span></strong></td>
	  </tr>
<%
dLoop=0;
Rs = task.futures_daily_basis.fetchFuturesDailyBasisList();
while (Rs.next())
{
	if (Rs.getString("terminal_market").compareTo("LIFFE")==0)
	{
%>
        <tr id=<%=Rs.getInt("id")%> onDblClick=" CView_F(this);" onClick="highlightOn(this);">
          <td width="9%" align="left"><span class="style1">&nbsp;<%=Rs.getInt("id")%></span></td>
   		  <% 
		  	String Ter_dt = Utils.dateToStr(Rs.getDate("terminal_month"));
			if (Ter_dt.compareTo("")==0)
			{
				Ter_dt = "";
			}
			else
			{
				Ter_dt = Utils.dateToStr(Rs.getDate("terminal_month")).substring(3);
			}
		  %>		  
          <td width="17%" align="left"><span class="style1">&nbsp;<%=Ter_dt%></span></td>
          <td width="16%" align="right"><span class="style1"><%=Utils.numberToStr(Rs.getFloat("high_price"),0,false)%>&nbsp;</span></td>
          <td width="17%" align="right"><span class="style1"><%=Utils.numberToStr(Rs.getFloat("low_price"),0,false)%>&nbsp;</span></td>
          <td width="13%" align="right"><span class="style1"><%=Utils.numberToStr(Rs.getFloat("closing_price"),0,false)%>&nbsp;</span></td>
          <td width="13%" align="right"><span class="style1"><%=Utils.numberToStr(Rs.getFloat("basis_price"),0,false)%>&nbsp;</span></td>
        </tr>
<%
		dLoop=dLoop+1;
	}
}
%>
</table>
</body>
</html>
